x86: ensure invalidate_icache() definition is visible only when !__ASSEMBLY__
authorPunit Agrawal <punit.agrawal@arm.com>
Wed, 7 Jun 2017 10:34:20 +0000 (12:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 7 Jun 2017 10:34:20 +0000 (12:34 +0200)
commit84c1eab01593733780bba9d445d7a34201239eb1
treed13abf2e9275bee466c63b8bc8bde8008308eaa6
parentf4a27a000d03e121eb1a36c485049a820c395539
x86: ensure invalidate_icache() definition is visible only when !__ASSEMBLY__

Commit edff605421 introduces an empty invalidate_icache() function in
page.h for x86 but mistakenly places it outside the !__ASSEMBLY__
block. This causes build failure on x86.

Address this by moving the function definition to within the existing
!__ASSEMBLY__ block.

Fixes: edff605421 ("Avoid excess icache flushes in populate_physmap() before domain has been created")
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/page.h